package com.lee.rpc.comsumer.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.lee.rpc.api.service.IUserService;
import com.lee.rpc.protocal.annotation.LiRemoteReference;

@RestController
public class HelloController {

	@LiRemoteReference
    private IUserService iUserService;


    @RequestMapping("/say")
    public String say(){ 
        return iUserService.saveUser("涨薪6班");
    }
    
    
}
